<%@ page import="com.workmanager.service.StudentWorkService" %>
<%@ page import="java.util.List" %>
<%@ page import="com.workmanager.bean.JobTaskBean" %><%--
  Created by IntelliJ IDEA.
  User: haocongshun
  Date: 2016/8/25
  Time: 14:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    List<JobTaskBean> listJobTask = (List<JobTaskBean>) request.getAttribute("jobtask");
%>
<%@include file="../inc/top.jsp"%>
<div class="king-page-box">
    <div class="king-container clearfix">
        <div class="ui-ui" style="position: relative; z-index: 0;">
            <div class="panel panel-default mb0">
                <div class="panel-heading">
                    个人中心
                </div>
                <div class="panel-body">
                    <h3>亲爱的同学，<%=(listJobTask.size()==0?"你的所有作业均已完成！":"你的以下作业还没完成，赶快完成吧！")%></h3>
                    <a href="<%=ctxpath%>/student/handInWork.jsp" style="font-size: 16px;color: orangered">点击去提交作业</a>
                    <div class="ui-ui" style="position: relative; z-index: 0;">
                        <ul class="list-group">
                            <%
                                for(JobTaskBean jtb : listJobTask){
                            %>
                            <li class="list-group-item">
                                <span class="badge king-info">上交截止日期：<%=jtb.getJobTask_deadline()%></span>
                                <i class="fa fa-calendar"></i> <span>作业任务名称：<%=jtb.getJobTask_title()%></span>
                            </li>
                            <%
                                }
                            %>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<%@include file="../inc/bottom.jsp"%>
